<h1>New tag</h1>

<%= error_messages_for :tag %>

<% form_for(@tag) do |f| %>
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', tags_path %>
